Skip to main content
POST
[Admin] Criar um novo item de loja

Autorizações

Authorization
string
header
obrigatório

Partner API key (cativa_...) or a JWT, sent as: Authorization: Bearer .

Parâmetros de caminho

storeId
string<uuid>
obrigatório

Corpo

application/json
name
string | null
description
string | null
imageUrl
string | null
price
integer<int32>
stock
integer<int32> | null
allowRepurchase
boolean
requiresApproval
boolean
actionType
enum<integer>
Opções disponíveis:
0,
1,
2,
3,
4,
5
actionPayload
string | null
isActive
boolean
sortOrder
integer<int32>

Resposta

200

OK